40d0da9cf2b4b30ee3f2738c814c4600e1df590b,src/math/geom2d/curve/AbstractContinuousCurve2D.java,AbstractContinuousCurve2D,asPolyline,#number#,42
Before Change
double t0 = this.t0();
double dt = (this.t1() - t0) / n;
if (this.isClosed()) {
// compute position of points, without the last one,
// which is included by default with linear rings
Point2D[] points = new Point2D[n];
After Change
if (!this.isBounded())
throw new UnboundedShape2DException(this);
if (this.isClosed()) {
return asPolylineClosed(n);
} else {
return asPolylineOpen(n);
}
}